<script type="text/javascript" >
    sttheme.sortColumn();
    sttheme.shortAction();
    jQuery(document).ready(function(){
        
        jQuery('#fuckingnice').keydown(function (e) {
            if (e.keyCode == 13) {
                data = new Array();
                data['find_user'] = jQuery('#fuckingnice').val();
                sttheme.loadPage('chonhinhl1', data);
                return false;
            }
        });
        
    });
</script>
<style type="text/css">
    #stcontainer th.column-id {
        width: 200px;
    }
</style>
<div class="w100p bgl" style="position: relative;">
    <table style="position: absolute;
right: 55px;
top: -44px;
width: 300px;">
        <tr>
            <td width="50"> <b> Search: </b>   </td>
            <td><input type="text" value="" id="fuckingnice" style="width: 250px; "/></td>
        </tr>

    </table>
    <div class="w100p bgr">
        <div class="inner_container">
            <table class="widefat" cellspacing="0">
                <thead>
                    <tr>
                        <?php print_column_headers('sttheme_sttheme'); ?>
                    </tr>
                </thead>
                <input type="hidden" id="current_action" value="game">
                <tbody>
                    <?php
                    if (count($results) > 0) {
                        $tr_class = "";
                        foreach ($results as $result) {
                            if (empty($tr_class) || $tr_class == "class='bg_gray2'") {
                                $tr_class = "class='bg_gray1'";
                            } else {
                                $tr_class = "class='bg_gray2'";
                            }
                            $imgurl = get_site_url() . "/gallery/user_{$result->user_id}/thumbs/{$result->image_id}.jpg";
                            $status = $result->status ? 'Enable' : 'Disable';
                            
                            echo "<tr id='$result->id' $tr_class >"
                            . "<td><img style='max-height:100px; max-width:100px;' src='" . $imgurl . "' alt=''>"
//                            . "<div class=\"row-actions short_action\">"
//                            . "<span class='edit' action='gameEdit' short_action='' id='$result->id'>Edit | </span>"
//                            . "<span class='trash' short_action='delete' id='$result->id' confirm='Are you sure you want to delete this game?'>Trash </span>"
//                            . "</div>"
                            . "</td>"
                            . "<td>" . $result->user_id . "</td>"
                            . "<td>" . $result->type . "</td>"
                            . "<td>" . $status . "</td>"
                            . "</tr>"
                            ;
                        }
                    }
                    ?>
                </tbody>
            </table>
            <div class="page_d">
                <?php echo $pagination ?>
                <div class="cl"></div>
            </div>

        </div>
    </div>
</div>